From: Jochen Sprickerhof Date: Mon, 17 Aug 2015 09:58:21 +0000 (+0200) Subject: Fix FTBFS on ppc64el, thanks to ChriSopht in #eigen X-Git-Tag: archive/raspbian/1.14.0+dfsg-2+rpi1^2~208 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=81afb3505f051b2b0cc7d0611ff8c6f7efd0849b;p=pcl.git Fix FTBFS on ppc64el, thanks to ChriSopht in #eigen --- diff --git a/debian/patches/0009-Fix-THIS_METHOD_IS_ONLY_FOR_1x1_EXPRESSIONS.patch b/debian/patches/0009-Fix-THIS_METHOD_IS_ONLY_FOR_1x1_EXPRESSIONS.patch new file mode 100644 index 00000000..afa33c84 --- /dev/null +++ b/debian/patches/0009-Fix-THIS_METHOD_IS_ONLY_FOR_1x1_EXPRESSIONS.patch @@ -0,0 +1,27 @@ +From f2b6da959300acc1d0199cf3a922dae0844f7a03 Mon Sep 17 00:00:00 2001 +From: Jochen Sprickerhof +Date: Mon, 17 Aug 2015 11:53:28 +0200 +Subject: [PATCH] Fix THIS_METHOD_IS_ONLY_FOR_1x1_EXPRESSIONS + +see: https://buildd.debian.org/status/fetch.php?pkg=pcl&arch=ppc64el&ver=1.7.2-8&stamp=1438282347 +Thanks to ChriSopht in #eigen +--- + apps/in_hand_scanner/src/icp.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/apps/in_hand_scanner/src/icp.cpp b/apps/in_hand_scanner/src/icp.cpp +index fcbd45c..6bbfad3 100644 +--- a/apps/in_hand_scanner/src/icp.cpp ++++ b/apps/in_hand_scanner/src/icp.cpp +@@ -382,7 +382,7 @@ pcl::ihs::ICP::selectModelPoints (const MeshConstPtr& mesh_model, + for (Mesh::VertexDataCloud::const_iterator it=cloud.begin (); it!=cloud.end (); ++it) + { + // Don't consider points that are facing away from the camera. +- if ((T_inv * it->getNormalVector4fMap ()).z () < 0.f) ++ if ((T_inv.lazyProduct (it->getNormalVector4fMap ())).z () < 0.f) + { + PointNormal pt; + pt.getVector4fMap () = it->getVector4fMap (); +-- +2.5.0 + diff --git a/debian/patches/series b/debian/patches/series index dcfa7f97..2a57aa74 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -6,3 +6,4 @@ 0006-fixes-for-boost-1.56-and-Qt4.patch 0007-Fix-for-boost-1.57.patch 0008-Fixes-manual_registration-and-segmentation-demo-for-.patch +0009-Fix-THIS_METHOD_IS_ONLY_FOR_1x1_EXPRESSIONS.patch